package core;

/**
 *
 * @author dcrm
 */
public class ProxyConnection {
    public String proxyHost;
    public int proxyPort;
    public String proxyLogin;
    public String proxyPWD;
    private int typeProxy;

    public ProxyConnection(String host, int port) {
        this(host, port, "", "", 0);
    }

    public ProxyConnection(String host, int port,int typeProxy) {
        this(host, port, "", "", typeProxy);
    }

    public ProxyConnection(String host, int port, String login, String pwd) {
        this(host, port, login, pwd, 0);
    }

    public ProxyConnection(String host, int port, String login, String pwd, int typeProxy) {
        this.proxyHost=host;
        this.proxyPort=port;
        this.proxyLogin=login;
        this.proxyPWD=pwd;
        this.typeProxy=typeProxy;
    }

    public int getTypeProxy()
    {return typeProxy;};
}